#include "clipbord.h"

Clipbord::Clipbord()
{
	this->buffer = new char[MAX_LEN];
}

Clipbord::~Clipbord()
{
	delete[] this->buffer;
}

void Clipbord::clear()
{
	this->buffer[0] = '\0';
}

const char *Clipbord::get() const
{
	return this->buffer;
}

void Clipbord::set(const char *context)
{
	strcpy(this->buffer, context);
}
